<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2024/11/26
  Time: 9:50
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<html>
  <head>
    <title>$Title$</title>
  </head>
  <body>
      用户名：${user.username} <br>
      密码：${user.password} <br>
      年龄：${user.userAge} <br>
      生日：${user.birthday} <br>
      薪水:${user.salary} <br>
      薪水:${user.workRate} <br>
<br><br><br><br><br>
  <%--
    使用Spring标签库
  --%>
    用户名：${user.username} <br>
    密码：${user.password} <br>
    年龄：${user.userAge} <br>
      生日：<fmt:formatDate value="${user.birthday}"></fmt:formatDate><br>
    薪水:<fmt:formatNumber value="${user.salary}"></fmt:formatNumber> <br>
    工作完成度:<fmt:formatNumber value="${user.workRate}"></fmt:formatNumber> <br>
  </body>
</html>
